package com.nys.cqhttp.mapper;

import com.nys.cqhttp.model.UserBackpack;
import com.nys.cqhttp.model.UserBackpackExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserBackpackMapper {
    long countByExample(UserBackpackExample example);

    int deleteByExample(UserBackpackExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UserBackpack record);

    int insertSelective(UserBackpack record);

    List<UserBackpack> selectByExample(UserBackpackExample example);

    UserBackpack selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") UserBackpack record, @Param("example") UserBackpackExample example);

    int updateByExample(@Param("record") UserBackpack record, @Param("example") UserBackpackExample example);

    int updateByPrimaryKeySelective(UserBackpack record);

    int updateByPrimaryKey(UserBackpack record);
}